// src/api/todo.js
import axios from 'axios'

const BASE_URL = 'http://localhost:8080/api/todos' // Spring Boot 后端地址

export function getTodos() {
  return axios.get(BASE_URL)
}
